package models;

import javax.persistence.Entity;
import javax.persistence.Id;

import play.data.validation.Constraints.Required;
import play.db.ebean.Model;

@Entity
public class Position extends Model {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -793888623630467395L;

	@Id
	public Long id;
	
	@Required
	public String code;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

}
